import http from '../http/http.js'
export default {
    // 角色表的增删改查
    __api_login_get(params) {
        return http.request({
            url: '/login',
            method: 'GET',
            params: params
        });
    },
    __api_login_delete(params) {
        return http.request({
            url: '/users/' + params.id,
            method: 'DELETE'
        });
    },
    __api_login_POST(params) {
        return http.request({
            url: '/login',
            method: 'POST',
            params: params
        });
    },
    __api_login_PUT(params) {
        return http.request({
            url: '/login',
            method: 'PUT',
            params: params
        });
    }
}